Description
Defines the geometry of a feature in a graphic layer file (*.apg).
Diagram
Overview
|
GEOMETRY
Defines the geometry of a feature in a graphic layer file (*.apg).
|
maxx optional xs:double
Right top x-coordinate in map units.
|
|
maxy optional xs:double
Right top y-coordinate in map units.
|
|
minx optional xs:double
Left bottom x-coordinate in map units.
|
|
miny optional xs:double
Left bottom y-coordinate in map units.
|
|
type optional Restriction of xs:string
|
|
Sequence
|
POINT
When parent element is PREFERENCES, POINT specifies the point greeking thresholds. When parent element is GEOMETRY or PART, POINT defines a point or vertex in a graphic element. When parent element is REFPOINTS, POINT defines a reference point.
|
|
PART
Defines a part for a polyline or polygon graphic element in a graphics layer file (*.apg).
|
maxx required xs:double
Right top x-coordinate in map units.
|
|
maxy required xs:double
Right top y-coordinate in map units.
|
|
minx required xs:double
Left bottom x-coordinate in map units.
|
|
miny required xs:double
Left bottom y-coordinate in map units.
|
|
type optional Restriction of xs:string
|
|
Sequence
|
POINT
When parent element is PREFERENCES, POINT specifies the point greeking thresholds. When parent element is GEOMETRY or PART, POINT defines a point or vertex in a graphic element. When parent element is REFPOINTS, POINT defines a reference point.
|
|
|
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
maxx | xs:double | optional | | | Right top x-coordinate in map units. |
maxy | xs:double | optional | | | Right top y-coordinate in map units. |
minx | xs:double | optional | | | Left bottom x-coordinate in map units. |
miny | xs:double | optional | | | Left bottom y-coordinate in map units. |
type | Restriction of xs:string | optional | | | |
Remarks
Examples
Restrictions
If type is point, pointz, or pointm, then the child element is POINT. Otherwise, the child element is PART.
Source
<xs:element name="GEOMETRY" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType>
<xs:sequence>
<xs:element ref="POINT" />
<xs:element name="PART">
<xs:complexType>
<xs:sequence>
<xs:element ref="POINT" />
</xs:sequence>
<xs:attribute ref="maxx" use="required" />
<xs:attribute ref="maxy" use="required" />
<xs:attribute ref="minx" use="required" />
<xs:attribute ref="miny" use="required" />
<xs:attribute name="type">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="polyline" />
<xs:enumeration value="polylinez" />
<xs:enumeration value="polylinem" />
<xs:enumeration value="polygon" />
<xs:enumeration value="polygonz" />
<xs:enumeration value="polygonm" />
<xs:enumeration value="rect" />
<xs:enumeration value="ellipse" />
<xs:enumeration value="circle" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute ref="maxx" />
<xs:attribute ref="maxy" />
<xs:attribute ref="minx" />
<xs:attribute ref="miny" />
<xs:attribute name="type">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="point" />
<xs:enumeration value="pointz" />
<xs:enumeration value="pointm" />
<xs:enumeration value="polyline" />
<xs:enumeration value="polylinez" />
<xs:enumeration value="polylinem" />
<xs:enumeration value="polygon" />
<xs:enumeration value="polygonz" />
<xs:enumeration value="polygonm" />
<xs:enumeration value="rect" />
<xs:enumeration value="ellipse" />
<xs:enumeration value="circle" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
|
See Also